package twi.filter;

import com.hp.hpl.jena.ontology.OntResource;
import com.hp.hpl.jena.util.iterator.Filter;

public class DropAnonFilter extends Filter {

	@Override
	public boolean accept(Object o) {
		if (o == null)
			return true;
		if (!(o instanceof OntResource))
			return false;
		OntResource r = (OntResource) o;
		
		return r.isAnon();
	}

}
